<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改类型</title>
</head>
<body>
    <form action="/update/tag/?id={{id}}" method="post">
        {% if error %}
        <span style="color:red">{{error}}</span>
        {% endif %}
        <table border="1">
            <thead>
                    <tr>
                        <th>id</th>
                        <th>tag_name</th>
                    </tr>
            </thead>
            <tbody>
                <tr>
                    <td>{{id}}</td>
                    <td><input type="text" name="tag_name" value="{{tag_name}}" /></td>
                </tr>
            </tbody>
        </table>
        <input type="submit" value="提交修改" />
    </form>
</body>
</html>